import Layout from '@/views/layout/Layout'

export default {
  path: '/quality',
  component: Layout,
  alwaysShow: true,
  meta: { title: '质量管理', icon: 'fa-quora', noCache: true },
  children: [
    {
      path: 'burn',
      component: () => import('@/views/quality/burn'),
      name: 'burn',
      meta: { title: '工站时间管理', noCache: true, roles: [] },
    },
    {
      path: 'errorCode',
      component: () => import('@/views/quality/errorCode'),
      name: 'errorCode',
      meta: { title: '不良代码', noCache: true, roles: [] },
    },
    {
      path: 'hold',
      component: () => import('@/views/quality/hold'),
      name: 'hold',
      meta: { title: '品质拦截', noCache: true, roles: [] },
    },
    {
      path: 'ipqc',
      component: () => import('@/views/quality/ipqc'),
      name: 'ipqc',
      meta: { title: '来料检验', noCache: true, roles: [] },
    },
    {
      path: 'changeStation',
      component: () => import('@/views/quality/changeStation'),
      name: 'changeStation',
      meta: { title: '指定工站', noCache: true, roles: [] },
    },
    {
      path: 'unbindPackage',
      component: () => import('@/views/quality/unbindPackage'),
      name: 'unbindPackage',
      meta: { title: '解除栈板', noCache: true, roles: [] },
    },
    {
      path: 'matForbid',
      component: () => import('@/views/quality/matForbid'),
      name: 'matForbid',
      meta: { title: '禁用料管理', noCache: true, roles: [] },
    },
  ],
}
